<template>
  <div class="app">
    <h2>我是App组件</h2>
    <Hello/>
    <h2 v-big="n"></h2>
    <h2>{{str|cut}}</h2>
    <button @click="welcome">点我</button>
    <h2>{{version}}</h2>
  </div>
</template>

<script>
  export default {
    name:'App',
    data() {
      return {
        n:8,
        str:'atguigu'
      }
    },
  }
</script>

<style>
  .app {
    background-color: skyblue;
    padding: 10px;
  }
</style>